Skip to content

fix: inline commits into nextjs-tracker prompt to stop codebase exploration#693

Merged
southpolesteve merged 1 commit intomainfrom
fix/nextjs-tracker-inline-commits
Mar 26, 2026
Merged

fix: inline commits into nextjs-tracker prompt to stop codebase exploration#693
southpolesteve merged 1 commit intomainfrom
fix/nextjs-tracker-inline-commits

Conversation

@southpolesteve
Copy link
Collaborator

Summary

  • The agent ignores both the task: "*": deny permission and the "Do NOT explore" instruction, spending 28 of 30 minutes on a Task subagent exploring the local codebase before looking at a single commit
  • Fix: embed the commits JSON directly into the prompt so all data is available immediately with no file reads or exploration needed
  • Also adds explicit "do not explore, do not launch subagents" at the end of the prompt

Previous failed runs:

Both timed out because the agent launched an explore subagent that ran for ~28 minutes.

The agent kept launching a Task subagent to "explore the vinext codebase
structure" despite instructions not to, consuming the entire 30-minute
timeout. The task permission deny in the agent config was not effective.

Fix: embed the commits JSON directly into the prompt so the agent has
all data immediately and no reason to explore. Also add explicit
"do not explore, do not launch subagents" at the end of the prompt.
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 26, 2026

Open in StackBlitz

npm i https://pkg.pr.new/vinext@693

commit: bc71939

@github-actions
Copy link

Example Preview Production Original
app-router-cloudflare preview production
pages-router-cloudflare preview production
app-router-playground preview production original
realworld-api-rest preview production
nextra-docs-template preview production
benchmarks preview production
hackernews preview production original

@southpolesteve southpolesteve merged commit 2d03bc5 into main Mar 26, 2026
30 checks passed
@southpolesteve southpolesteve deleted the fix/nextjs-tracker-inline-commits branch March 26, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant